package com.pic.others.service;

import com.pic.common.utils.R;
import com.pic.others.domain.dto.recyle.RecyleFormDTO;
import com.pic.others.domain.dto.recyle.RecyleManyDTO;
import com.pic.others.domain.po.Recyle;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author koshi
 * @since 2023-11-24
 */
public interface IRecyleService extends IService<Recyle> {

    void deleteByTime(LocalDateTime now);

    R<List<RecyleFormDTO>> getRecylePicture();

    R<String> deleteByRecyleTime(Long recyleId);

    R<String> updatePictureRecyleStatus(Long recyleId);

    R<String> deleteByRecyleIds(List<Long> recyleIds);

    R<String> updatePictureRecyleStatusByIds(List<Long> recyleIds);

    R<String> deleteAllPictures();

    R<RecyleManyDTO> getRecylesByRecyleId(Long recyleId);
}
